import unittest

from lib.HTMLTestRunner_PY3 import HTMLTestRunner

if __name__ == '__main__':
    suite = unittest.TestLoader().discover('./script', 'login_test*')
    with open('report/HR测试报告12.html', 'wb') as f:
        runner = HTMLTestRunner(f, verbosity=2)
        runner.run(suite)